#!/bin/bash

# 加载 ROS 环境
source /opt/ros/foxy/setup.bash&
source /home/nvidia/hil_simulate/install/setup.bash&


source /opt/ros/foxy/setup.bash; ros2 run mavros mavros_node  --remap __ns:=/drone_0 --ros-args -p fcu_url:=udp://:14550@192.168.16.201:4196 -p tgt_system:=10  & 

ros2 launch image_publisher_pkg image_publisher_pkg_launch.py &

# 等待所有进程
wait
